import {createRouter, createWebHashHistory} from 'vue-router'

import Login from "@/pages/Login";
import Main from "@/pages/Main";

const router = createRouter({
    history: createWebHashHistory(),
    routes: [
        {
            path: '/login',
            component: Login
        },
        {
            path: '/main',
            component: Main
        }
    ]
});

export default router;